<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class PreferentialSettings extends Model
{
    //优惠卷配置表
    protected $table='ea_preferential_settings';

    //获取一条数据查看
    public static function getOneShow($id){
        return self::where('id','=',"$id")
            ->find();
    }

}
